/*
 * Test function with more than 8 floating-point arguments.
 */
double Song_of_floating_life(double a0, double a1, double a2,
	double a3, double a4, double a5, double a6,
	double a7, double a8, double a9)
{
	double sum;
	sum = a0 + a1 + a2 + a3 + a4;
	sum = sum + a5 + a6 + a7 + a8;
	sum = sum * a9;
	return sum;
}

int main()
{
	double d, r;

	d = get_double();
	r = Song_of_floating_life(1000.0, 1000.0, 1000.0,
		1000.0, 1000.0, 30.0, 3.0, 0.02, 0.03, d);
	// r = 5033.05 * d;
	print_double(r);
	if (r == 5033.05 * d)
		return 0;
	else
		return 1;
}